<?php

namespace Module\PageNotice\Admin\Controller;

use Illuminate\Routing\Controller;
use ModStart\Admin\Layout\AdminConfigBuilder;

class ConfigController extends Controller
{
    public function index(AdminConfigBuilder $builder)
    {
        $builder->pageTitle('系统全局通知');
        $builder->datetime('PageNotice_Start', '通知开始时间');
        $builder->datetime('PageNotice_End', '通知结束时间');
        $builder->text('PageNotice_Title', '通知标题');
        $builder->richHtml('PageNotice_Content', '通知内容');
        $builder->formClass('wide');
        return $builder->perform();
    }

}
